<template>
    <el-table
      :data="tableData"
      style="width: 100%">
      <el-table-column
        prop="userName"
        label="姓名"
        width="180">
      </el-table-column>
      <el-table-column
        prop="wage"
        label="工资">
      </el-table-column>
      <el-table-column
        prop="otherMoney"
        label="其他">
      </el-table-column>
      <el-table-column
        prop="reward"
        label="奖励">
      </el-table-column>
      <el-table-column
        prop="should"
        label="应发数">
      </el-table-column>
      <el-table-column
        prop="old"
        label="养老">
      </el-table-column>
      <el-table-column
        prop="medical"
        label="医保">
      </el-table-column>
      <el-table-column
        prop="loseJob"
        label="失业">
      </el-table-column>
      <el-table-column
        prop="tradeUnion"
        label="工会">
      </el-table-column>
      <el-table-column
        prop="housingFund"
        label="公积金">
      </el-table-column>
      <el-table-column
        prop="takeOff"
        label="工扣数">
      </el-table-column>
      <el-table-column
        prop="total"
        label="实发数">
      </el-table-column>
      <el-table-column
        prop="sheetName"
        label="月份">
      </el-table-column>
    </el-table>
</template>

<script>
export default {
  props:["TotalTableList"],
     data() {
        return {
          tableData:this.TotalTableList
        }
      },
    methods:{
      
    },
    watch:{
      TotalTableList(){
        this.tableData=this.TotalTableList
      }
    }
}
</script>

<style>

</style>


